home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-10-26 | 3.2 KB | 65 lines | [TEXT/ttxt] |
- Mac101 Keyboard Package October, 1991
- -----------------------
-
- About a year ago I bought a Mac101™ Keyboard from DataDesk
- International to replace my original 128K Mac keyboard. I didn't much
- like their MasterStrokes™ software, but without it the extra keys
- would not be recognized properly by the system on my now Mac Plus
- (the key codes the keyboard was sending were wrong). To fix this I put
- together this package. It contains:
-
- • KbdFix : A system extension (INIT) that should be put in the System
- folder in system 6.0.x or the Extensions folder in system 7. It
- contains a KMAP resource and a patch to make the Mac Plus use it.
- It seems that the Mac Plus ROMS were never patched to use KMAP
- resources, which are used by newer Macs to change hardware key
- codes to arbitrary "virtual" key codes. KbdFix patches the PostEvent
- system trap and translates the key codes there. (See below for more
- details on the KMAP.) It will install itself when the system is
- started; it is very small.
-
- • Mac101 Kbd : A keyboard file containing a KCHR resource and a kcs#
- resource. These should be copied into your system file. In system 6
- you will have to use ResEdit to do this, and the usual warnings apply.
- In system 7 you should be able to simply drag this file to your System
- file to install it. This KCHR is based on the new System 7 key
- combinations (certain option key combinations were changed; see
- Inside Macintosh p.14-97). It makes all of the functions keys and the
- keypad keys in "Window Lock" mode register properly.
- After installing these resources in your System file you can use the
- Keyboard control panel to select the Mac101 keyboard layout.
-
- • Mac101 KCAP : This is optional: it is a ResEdit file containing a KCAP
- resource that tells the Key Caps desk accessory exactly how the
- keyboard is layed out. On my system (System 7) installing it in the
- System file with ID 11 makes it work (this ID is not documented in
- Inside Macintosh, so I make no promises).
-
- More on the KMAP key code translation: The key codes are mapped to
- look like the key codes of Apple's Extended Keyboard with the following
- exceptions: the arrow keys use the old key codes of the MacPlus keyboard,
- and the keypad in Window Lock mode gives the key codes that
- MasterStrokes™ uses: in hex these are arranged as
-
- 7=$5D 8=$5E 9=$5F
- 4=$4F 5=$50 6=$5A
- 1=$44 2=$49 3=$4A
- 0=$40 .=$66
-
- Please note that these fixes are for the Mac101 keyboard, NOT the
- Mac101e that was recently released (and how I wish I had waited...).
- The KCAP is certainly wrong for the Mac101e, and I have no idea if the
- rest is needed or will work with the new keyboard.
-
- This patch and these resources have been used with Systems 6 and 7
- on a Mac Plus with no problems. I can make no promises about their
- working on anyone else's configuration, but here they are, give 'em a whirl!
-
- KbdFix was written using Symantec's THINK C, which I highly commend
- and recommend. This package is free, just drop me a note if you use it
- and like it.
-
- Steve Costenoble
- GEnie: S.COSTENOBLE
- BITnet: matsrc@hofstra
-